class ApplicationInstitution {
    /**
     * 申请机构id
     */
    applicationInstitutionId: number | null = null;

    /**
     * 机构名称
     */
    name: string | null = null;

    /**
     * 营业执照 url
     */
    license: string | null = null;

    /**
     * 统一社会信用代码
     */
    creditCode: string | null = null;

    /**
     * 单位类型
     */
    unitType: number | null = null;

    /**
     * 法定代表人
     */
    legalMan: string | null = null;

    /**
     * 法定代表人证件类型
     */
    legalManCreditType: number | null = null;

    /**
     * 法定代表人证明   图片url
     */
    legalManSupport: string | null = null;

    /**
     * 负责人
     */
    director: number | null = null;

    /**
     * 负责人联系方式
     */
    directorPhone: string | null = null;

    /**
     * 公司地址
     */
    companyAddress: string | null = null;

    /**
     * 创建时间
     */
    createdTime: string | null = null;

    constructor(applicationInstitutionId?: number, name?: string, license?: string,
                creditCode?: string, unitType?: number, legalMan?: string,
                legalManCreditType?: number, legalManSupport?: string, director?: number,
                directorPhone?: string, companyAddress?: string, createdTime?: string) {
        this.applicationInstitutionId = applicationInstitutionId ?? null;
        this.name = name ?? null;
        this.license = license ?? null;
        this.creditCode = creditCode ?? null;
        this.unitType = unitType ?? null;
        this.legalMan = legalMan ?? null;
        this.legalManCreditType = legalManCreditType ?? null;
        this.legalManSupport = legalManSupport ?? null;
        this.director = director ?? null;
        this.directorPhone = directorPhone ?? null;
        this.companyAddress = companyAddress ?? null;
        this.createdTime = createdTime ?? null;
    }
}

export default ApplicationInstitution;